﻿using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Entity;
using BLL;
using BLL.Access;
using System.Data;
using Platform.Http;
using Web.Class;
using System;

namespace Web.AuthorizationSystem
{
    public partial class ChaKanRZ_QX : BasePage
    {
        #region 变量


        /// <summary>
        /// 操作日志BLL
        /// </summary>
        SYS_LOGBLL _SYS_LOGBLL = new SYS_LOGBLL();

        #endregion

        #region 属性
        /// <summary>
        /// 保存结果集1
        /// </summary>
        private DataTable dtXiangXiXX
        {
            get
            {
                return ViewState["dtXiangXiXX"] as DataTable;
            }
            set
            {
                ViewState["dtXiangXiXX"] = value;
            }
        }
        #endregion

        #region 事件
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                LoadData();
            }
        }

       
        #endregion

        #region 方法
        /// <summary>
        /// 加载数据
        /// </summary>
        private void LoadData()
        {
            string id = this.Request.QueryString["id"];
            this.dtXiangXiXX = _SYS_LOGBLL.SelectSYS_LOGsDynamic(string.Format("id={0}", id), null);
            memoXXRZ.Text = this.dtXiangXiXX.Rows.Count > 0 ? this.dtXiangXiXX.Rows[0]["S_RIZHINR"].ToString() : "";
        }
        #endregion
    }
}